﻿using DX_DailyUtil_1._0._1.ks.objt.share;
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace DX_DailyUtil_1._0._1.ks.objt.hitch
{
    public class User_Dealer : User_Base
    {
        public String name;
        private DateTime currentData = DateTime.Now;
        public DateTime date;
        public bool isChecked;


        public DateTime CurrentData
        {
            get { return currentData; }
            set { currentData = value; }
        }

        public String Name
        {
            get
            {
                return this.name;
            }
            set
            {
                this.name = value;
                OnPropertyChanged("Name");
            }
        }
        public DateTime Date
        {
            get
            {
                return this.date;
            }
            set
            {
                this.date = value;
                OnPropertyChanged("Date");
            }
        }
        public bool IsChecked
        {
            get
            {
                return this.isChecked;
            }
            set
            {
                this.isChecked = value;
                OnPropertyChanged("IsChecked");
            }
        }

        public User_Dealer(String aName)
        {
            this.name = aName;
        }

        public User_Dealer(long aId, String aName)
            : base(aId)
        {
            this.name = aName;
        }
    }
}
